<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>上车指南</title>
</head>
<body>
<a href="#1">#1</a>
<a href="#2">#2</a>
<a href="#3">#3</a>
<a href="#4">#4</a>
<a href="#5">#5</a>
</body>
<script>
window.addEventListener('hashchange',function(ev){
  console.log(ev);

});
</script>
</html>
